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, 0, 0, 0, 0],
		[0, 1, 0, 0, 0, 18, 4, 17, 0, 1, 0, 1, 0],
		[0, 1, 0, 1, 0, 3, 15, 5, 0, 1, 1, 1, 0],
	],

	// 第三关
	[
		[0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0],
		[0, 11, 11, 11, 1, 0, 0, 0, 0, 0, 9, 9, 9],
		[1, 11, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[11, 11, 11, 11, 0, 0, 0, 1, 0, 1, 1, 1, 5],
		[11, 11, 11, 11, 1, 1, 1, 2, 0, 1, 0, 3, 0],
		[11, 11, 11, 11, 0, 0, 1, 0, 0, 0, 0, 3, 0],
		[0, 11, 0, 0, 0, 0, 6, 6, 6, 0, 0, 11, 0],
		[0, 4, 0, 4, 0, 0, 0, 0, 0, 11, 11, 11, 11],
		[1, 5, 3, 1, 5, 3, 2, 2, 2, 11, 11, 11, 11],
		[0, 0, 0, 0, 0, 1, 0, 4, 4, 11, 11, 11, 11],
		[1, 0, 0, 10, 0, 0, 0, 2, 2, 11, 11, 11, 0],
		[1, 1, 0, 10, 0, 18, 4, 17, 0, 11, 11, 11, 0],
		[6, 1, 1, 0, 0, 3, 15, 5, 0, 1, 0, 0, 0],
	],

	// 第四关
	[
		[0, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0],
		[11, 11, 0, 0, 4, 1, 1, 4, 4, 0, 0, 0, 11],
		[11, 0, 0, 3, 1, 1, 1, 1, 1, 1, 4, 0, 7],
		[7, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 5, 0],
		[0, 0, 3, 2, 0, 0, 0, 2, 1, 1, 0, 5, 0],
		[13, 0, 3, 0, 10, 0, 10, 0, 1, 5, 0, 0, 0],
		[0, 0, 1, 0, 4, 4, 0, 0, 1, 5, 0, 13, 13],
		[0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0],
		[0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 5, 0, 0],
		[0, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 0, 0],
		[0, 1, 1, 4, 2, 1, 1, 2, 4, 1, 1, 0, 11],
		[11, 0, 2, 2, 0, 18, 4, 17, 2, 2, 0, 11, 11],
		[6, 11, 0, 0, 0, 3, 15, 5, 0, 0, 11, 11, 6],
	],

	// 第五关
	[
		[0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0],
		[9, 0, 4, 0, 1, 0, 0, 0, 7, 7, 6, 0, 0],
		[6, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0],
		[1, 0, 1, 1, 1, 0, 1, 1, 0, 13, 13, 0, 13],
		[2, 0, 0, 0, 2, 0, 0, 0, 0, 13, 0, 0, 0],
		[0, 0, 4, 0, 13, 13, 0, 13, 13, 13, 0, 1, 1],
		[1, 1, 0, 0, 13, 1, 0, 1, 5, 0, 0, 0, 0],
		[0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 8, 10, 0],
		[13, 13, 13, 0, 13, 0, 6, 0, 1, 0, 8, 0, 0],
		[0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 8, 1, 1],
		[0, 0, 0, 0, 1, 2, 2, 2, 1, 4, 0, 0, 0],
		[1, 1, 2, 0, 0, 18, 4, 17, 0, 2, 1, 0, 0],
		[2, 0, 0, 0, 0, 3, 15, 5, 0, 0, 0, 0, 0],
	],

	// 第六关
	[
		[0, 0, 0, 0, 0, 3, 0, 5, 11, 11, 0, 0, 0],
		[0, 5, 8, 0, 5, 0, 0, 0, 3, 11, 5, 3, 11],
		[0, 5, 8, 0, 5, 0, 1, 0, 3, 11, 5, 3, 11],
		[0, 1, 0, 0, 1, 0, 6, 0, 1, 11, 0, 1, 11],
		[0, 0, 0, 3, 7, 0, 1, 0, 2, 10, 0, 11, 11],
		[1, 1, 5, 0, 0, 11, 1, 11, 0, 0, 3, 1, 1],
		[0, 0, 0, 0, 3, 11, 11, 11, 5, 0, 0, 0, 0],
		[6, 1, 1, 0, 2, 11, 11, 11, 2, 3, 1, 1, 6],
		[7, 7, 7, 0, 4, 0, 11, 0, 4, 0, 7, 7, 7],
		[0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0],
		[0, 1, 5, 0, 0, 2, 0, 2, 0, 0, 0, 0, 11],
		[0, 0, 2, 0, 0, 18, 4, 17, 0, 0, 11, 11, 11],
		[0, 0, 4, 0, 0, 3, 15, 5, 0, 0, 4, 11, 11],
	],

	// 第七关
	[
		[0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0],
		[0, 0, 6, 7, 7, 7, 0, 0, 0, 0, 6, 0, 0],
		[0, 0, 6, 0, 0, 0, 11, 0, 7, 6, 6, 0, 0],
		[0, 6, 0, 0, 0, 11, 6, 0, 0, 0, 6, 0, 0],
		[0, 0, 0, 0, 11, 6, 6, 0, 0, 0, 7, 6, 0],
		[0, 6, 0, 11, 6, 6, 6, 0, 6, 0, 0, 0, 0],
		[0, 8, 0, 6, 6, 0, 0, 0, 6, 6, 0, 0, 0],
		[10, 0, 0, 0, 6, 0, 6, 6, 6, 0, 0, 8, 0],
		[0, 8, 6, 0, 0, 0, 6, 6, 11, 0, 0, 6, 0],
		[0, 6, 0, 0, 0, 0, 6, 11, 0, 0, 6, 6, 0],
		[0, 7, 7, 6, 0, 0, 11, 0, 0, 6, 0, 0, 0],
		[0, 0, 0, 0, 0, 18, 4, 17, 0, 7, 0, 9, 6],
		[9, 9, 0, 0, 0, 3, 15, 5, 0, 0, 0, 0, 0],
	],

	// 第八关
	[
		[0, 0, 1, 0, 0, 1, 0, 4, 0, 1, 0, 0, 0],
		[11, 1, 1, 1, 0, 1, 0, 9, 0, 1, 5, 0, 0],
		[11, 11, 11, 0, 0, 2, 0, 1, 0, 2, 0, 3, 5],
		[11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 0, 13],
		[0, 1, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0],
		[0, 0, 1, 0, 0, 3, 1, 1, 2, 1, 2, 7, 7],
		[1, 1, 0, 1, 0, 3, 1, 1, 11, 1, 9, 9, 1],
		[0, 0, 0, 6, 0, 9, 0, 11, 11, 11, 11, 0, 0],
		[13, 13, 0, 13, 13, 13, 13, 13, 0, 13, 13, 13, 13],
		[11, 11, 0, 3, 0, 0, 4, 4, 0, 0, 0, 0, 0],
		[11, 11, 1, 0, 3, 0, 0, 3, 0, 9, 4, 1, 0],
		[11, 9, 1, 0, 3, 18, 4, 17, 0, 2, 0, 1, 0],
		[0, 0, 0, 0, 0, 3, 15, 5, 0, 4, 0, 2, 0],
	],

	// 第九关
	[
		[0, 0, 0, 1, 0, 0, 0, 0, 0, 9, 11, 0, 0],
		[1, 0, 0, 0, 0, 0, 9, 11, 8, 6, 10, 0, 1],
		[0, 0, 0, 9, 11, 8, 6, 10, 0, 7, 0, 0, 0],
		[0, 0, 8, 6, 10, 0, 7, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 7, 11, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 11, 9, 11, 0, 11, 9, 11, 0, 0, 0],
		[6, 1, 0, 8, 6, 10, 0, 8, 6, 10, 0, 1, 6],
		[0, 0, 0, 11, 7, 11, 0, 11, 7, 11, 0, 0, 0],
		[0, 0, 0, 0, 9, 0, 0, 0, 9, 0, 0, 0, 0],
		[1, 0, 0, 8, 6, 10, 0, 8, 6, 10, 0, 0, 1],
		[1, 0, 0, 11, 7, 11, 0, 11, 7, 11, 0, 0, 1],
		[0, 0, 4, 0, 0, 18, 4, 17, 0, 0, 4, 0, 0],
		[0, 0, 1, 1, 0, 3, 15, 5, 0, 1, 1, 0, 0],
	],

	// 第十关
	[
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 3, 2, 1, 0, 0, 0, 0, 0, 0, 1, 2, 5],
		[3, 2, 0, 0, 1, 0, 11, 11, 0, 1, 0, 0, 3],
		[1, 0, 0, 0, 1, 11, 11, 11, 11, 1, 0, 0, 3],
		[1, 0, 0, 3, 1, 11, 6, 6, 11, 1, 5, 0, 1],
		[3, 4, 4, 1, 13, 13, 13, 13, 13, 13, 1, 1, 1],
		[0, 1, 1, 1, 6, 6, 1, 6, 6, 1, 1, 1, 5],
		[0, 0, 1, 1, 6, 0, 1, 0, 6, 1, 1, 5, 0],
		[0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 0],
		[1, 11, 2, 2, 2, 6, 6, 2, 2, 2, 2, 11, 1],
		[1, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1],
		[0, 0, 11, 11, 11, 18, 4, 17, 11, 11, 11, 11, 0],
		[0, 0, 0, 5, 0, 3, 15, 5, 0, 0, 5, 0, 0],
	],

	// 地图模版，不会用到
	[
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 18, 4, 17, 0, 0, 0, 0, 0],
		[0, 0, 0, 0, 0, 3, 15, 5, 0, 0, 0, 0, 0],
	],
];
